package com.ht.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 代齐园
 * @since 2022-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TbUserCollect implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户收藏表主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 知识表id
     */
    private Long knowledgeId;

    /**
     * 用户id
     */
    private Long userId;

    /**
    * 医院id
    * */
    private Long hospitalId;

    /**
     * 科室id
     * */
    private Long departmentId;


}
